package com.cold.legendary.bprocess.trigger.enums;

import lombok.Getter;

/**
 * @author cold
 * @since 2023/3/10
 */
public enum TriggerModeEnum {
    EXECUTE("execute", "执行"),
    CONTINUE("continue", "继续"),
    INTERRUPT("interrupt", "中断"),
    RETRY("retry", "重试");

    @Getter
    private String code;
    @Getter
    private String desc;

    TriggerModeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
